package com.app.entity.Enums;

/**
 * @author by zwy on 2021/4/8
 */
public enum RoleEnum {
    ROLE_ADMIN(1, "管理员"),
    ROLE_STUDENT(2, "学员用户"),
    ROLE_COACH(3, "教练");
    private Integer code;
    private String name;

    RoleEnum(Integer code, String name) {
        this.name = name;
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }
}
